package com.chamberlain;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

/**
 * 启动程序
 * 
 * @author chamberlain
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@ComponentScans({
        @ComponentScan("com.chamberlain.**.*"),
})

public class ChamberlainApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(ChamberlainApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "休息一下~休息一下~        \n"+
                "￣￣￣￣￣＼／￣￣￣￣     \n"+
                "　　　　∧＿∧　　　　      \n"+
                " 　;;（´・ω・） 　       \n"+
                " ＿旦_(っ(,,■)＿＿      \n"+
                "|l￣l||￣しﾞしﾞ￣|i     \n");
    }
}
